﻿@{
    ViewBag.Title = "Create";
    Layout = "~/Areas/Admin/Views/Shared/_LayoutAdmin.cshtml";
}
<script src="/js/ueditor/editor_config.js"></script>
<script src="/js/ueditor/editor_all_min.js"></script>
<script type="text/javascript">
    $(function () {
        //初始化百度编辑器
        var editor = new UE.ui.Editor({
            initialFrameWidth: '600'
        });
        editor.render("Content");
    });
</script>
    <div class="mytopmodel" >
        新增模块：&nbsp;&nbsp;
    </div>

    <form method="post" id="myform" name="myform" action="@Url.Action("Create")">
        <div class="maindiv">
            <table cellspacing="1" id="editTable" cellpadding="3" style=" ">

               

                
                <tr>
                    <td class="text">名称：</td>
                    <td class="control"><input type="text" name="Name" validate="required:true" /> </td>
                </tr>
                <tr>
                    <td class="text">描述：</td>
                    <td class="control">
                        <textarea name="Content" id="Content" validate="required:true" ></textarea> 

                    </td>
                </tr>
                
               <tr>
                    <td class="text" ></td>
                    <td colspan="2" class="control">
                       <input name="ParentId" id="ParentId" type="hidden" value="@ViewBag.ParentID" />
                       <div class="impBtn hMargin fLeft shadow" ><input type="submit" value="提交" onclick="" class="save imgButton" /></div>
                       <div class="impBtn hMargin fLeft shadow" ><input type="reset" value="清空" onclick="" class="reset imgButton" /></div>       
                       <a href="javascript:history.back(-1)" >[&nbsp;返回&nbsp;] </a>
                     </td>
                </tr>
            </table>
            
         
        </div>
   </form>
